package com.tuanzi.loan.business.service.system;

import java.util.List;

import com.tuanzi.loan.business.entity.system.FunctionalPermission;
import com.tuanzi.loan.core.service.BaseService;

/**
 * @author Ray 2017/09/21
 */
public interface FunctionalPermissionService extends BaseService<FunctionalPermission, String> {

	void generateFrequentPermission(FunctionalPermission root);

	List<FunctionalPermission> findAllPermissionByUserId(String userId);

	void recurseDelete(FunctionalPermission root);

	void movePermission(FunctionalPermission from, FunctionalPermission to);
}
